package com.git.dengchongshuang.managementsystem.Test;

import com.git.dengchongshuang.managementsystem.Login;
import com.git.dengchongshuang.managementsystem.exception.LoginException;

public class LoginTest {
    public static void main(String[] args) throws LoginException {
        try {
//                Login.register("张三","123456");
            if(Login.login("邓崇雙","123456")){
                System.out.println("登录成功!");
            }
            else{
                System.out.println("登录失败!");
            }
        }
        catch (Exception e) {
            System.out.println("登陆失败!");
        }
    }
}
